﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SinsenWeb.Helpers
{
    public class StaticFormHelper
    {


        public class StaticDropDownItem
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }

        public static List<StaticDropDownItem> insuranceStates
        {
            get
            {
                return new List<StaticDropDownItem>
                           {
                               new StaticDropDownItem{Id = 0, Name = "Ikke forsikret"},
                               new StaticDropDownItem{Id = 1, Name = "Forsikret uten instrument"},
                               new StaticDropDownItem{Id = 2, Name = "Forsikret med instrument"}
                           };
            }
        }

        public static List<StaticDropDownItem>ActiveStates
        {
            get
            {
                return new List<StaticDropDownItem>
                           {
                               new StaticDropDownItem{Id = 2, Name = "Aktivt medlem"},
                               new StaticDropDownItem{Id = 0, Name = "Inaktivt (kan ikke logge inn)"},
                               new StaticDropDownItem{Id = 1, Name = "Inaktivt (kan logge inn)"}
                           };
            }
        }

        public static List<StaticDropDownItem> PreDefSecurityRoles
        {
            get
            {
                return new List<StaticDropDownItem>
                           {
                               new StaticDropDownItem{Id = 0, Name = "Ingen spesielle rettigheter"},
                               new StaticDropDownItem{Id = 1, Name = "Webredaktør"},
                               new StaticDropDownItem{Id = 2, Name = "Oppmøtenazi"},
                               new StaticDropDownItem{Id = 255, Name = "!Administrator!"}
                           };
            }
        }


    }
}
